package binary;
//演示二进制
public class Demo01 {
    public static void main(String[] args) {
        int n=50;
        System.out.println(Integer.toBinaryString(n));
        n++;
        System.out.println(n);
        System.out.println(Integer.toBinaryString(n));

    }
}
